package com.clever.mall.service;

import com.clever.mall.commons.dto.RefundDto;
import com.clever.mall.commons.result.BaseResult;
import com.clever.mall.entity.Refund;
import com.clever.mall.vo.RefundVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RefundService {

    //添加
    int insertRefund(RefundDto refundDto);

    //查询所有退款信息
    List<RefundVo> selectRefundAll(int uid);

    //通过id查询退款信息
    RefundVo selectRefundById(int rid);

    //修改退款状态
    int updateRefundStatus(RefundDto refundDto);

}
